package com.sitc.administrator.application.fragment;

import com.sitc.administrator.application.datasource.Orm;
import com.sitc.administrator.application.datasource.SharedPreferencesUtil;
import static com.sitc.administrator.application.activity.BaseWebViewActivity.start_WebView;


public abstract class BaseCommonFragment extends BaseFragment {
    protected SharedPreferencesUtil sp;
    protected Orm orm;

    @Override
    protected void initViews() {
        super.initViews();

        sp = SharedPreferencesUtil.getInstance(getActivity().getApplicationContext());
        orm = Orm.getInstance(getActivity().getApplicationContext());
    }



    //系统webview内核
    protected void startWebView(String title ,String url,String args){

        start_WebView(getActivity(),title,url,args);

    }




}
